/**
@description main文件

@copyright    Copyright 2021 高灯科技
@version      1.0.0
@link         https://www.goldentec.com
@author       venki.chen <venki.chen@goldentec.com>
@datetime     2021/11/19 10:38
*/

package main

import (
	"fmt"
	"gitee.com/venki/go_study_accumulate/go_service/noWeb/api"
	"net/http"
)

func init() {
	fmt.Println("main模块初始化成功...")
}

func main() {
	http.HandleFunc("/", api.SayHello)
	err := http.ListenAndServe(":9090", nil)

	if err != nil {
		fmt.Printf("http server start failed err:%v", err)
		return
	}
}
